import request from '@/utils/request'

export function getBounds(id) {
  return request({
    url: `/coupon/spubounds/info/${id}`,
    method: 'post'
  })
}

export function saveBounds(data) {
  return request({
    url: '/coupon/spubounds/info/save',
    method: 'post',
    data
  })
}

export function updateBounds(data) {
  return request({
    url: '/coupon/spubounds/info/update',
    method: 'post',
    data
  })
}

export function boundsList(params) {
  return request({
    url: '/coupon/spubounds/list',
    method: 'post',
    params
  })
}

export function deleteBounds(ids) {
  return request({
    url: '/coupon/spubounds/delete',
    method: 'post',
    data: ids
  })
}
